package com.tedu.ds.customer.mapper;

import com.tedu.ds.customer.pojo.dto.CustomerQuery;
import com.tedu.ds.customer.pojo.entity.Customer;
import com.tedu.ds.customer.pojo.vo.CustomerVO;

import java.util.List;

public interface CustomerMapper {

    void reg(Customer customer);

    void update(Customer customer);

    void delete(Long id);

    List<CustomerVO> select(CustomerQuery customerQuery);

    Customer login(String username);

}
